
if (!("load" in window)) {
    window.load = {}
}
jQuery(function (a) {
    load.load(jQuery);
    load.removeLoad(jQuery);
});

load.load = function(a) {
    a("<div class=\"load-mask\"></div>").css({ display: "block", width: "100%", height: $(window).height() }).appendTo("body");
    a("<div class=\"load-mask-msg\"></div>").html('<i class="icon-spinner icon-spin icon-2x load-icon"></i>').appendTo("body").css({ display: "block", left: ($(document.body).outerWidth(true) - 190) / 2, top: ($(window).height() - 45) / 2 });
}

load.removeLoad = function(a) {
    a(".load-mask").remove();
    a(".load-mask-msg").remove();
}